.sudoku-game {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.sudoku-grid {
  display: grid;
  grid-template-columns: repeat(9, 40px);
  grid-template-rows: repeat(9, 40px);
  gap: 1px;
  background-color: #000;
  padding: 1px;
}

.sudoku-cell {
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 18px;
  border: none;
  background-color: #fff;
  padding: 0;
  box-sizing: border-box;
  line-height: 40px;
}

.sudoku-cell:disabled {
  background-color: #f0f0f0;
  color: #000;
}

.sudoku-cell:focus {
  outline: none;
  background-color: #e0e0e0;
}

.sudoku-grid {
  grid-template-columns: repeat(9, minmax(30px, 1fr));
  grid-template-rows: repeat(9, minmax(30px, 1fr));
  margin-bottom: 1em;
}

.sudoku-grid+div {
  gap: 5px !important;
}

[data-panel="left"],
[data-panel="right"] {
  .sudoku-game {
    margin: 0;
  }
}
